package cn.exrick.xboot.base.vo

import com.fasterxml.jackson.annotation.JsonFormat
import io.swagger.annotations.ApiModel
import io.swagger.annotations.ApiModelProperty
import org.springframework.format.annotation.DateTimeFormat
import java.util.*
import javax.persistence.Column

@ApiModel("我的上报列表实体")
data class MyReportVo(

        @ApiModelProperty("id")
        var id: String? = "",

        @ApiModelProperty("上报内容")
        @Column(length = 1000)
        var content: String? = "",

        @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
        @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
        @ApiModelProperty(value = "上报时间", hidden = true)
        var createTime: Date? = null
)